package com.ali.sso.common.shiro;

import org.apache.shiro.session.Session;

public class ShiroSessionHolder {
	
	private final static ThreadLocal<Session> SESSION = new ThreadLocal<Session>();
	
	public static Session getSession(){
		return SESSION.get();
	}
	
	public static void setSession(Session session){
		SESSION.set(session);
	}
	
	public static void removeSession(){
		SESSION.remove();
	}
	
}
